package sevensoft.行为型模式.状态模式;

public class LoadState extends GunState {

    @Override
    public void load() {
    }

    @Override
    public void shoot() {
        this.context.setGunState(Context.NONE);
        System.out.println("发射");
    }

    @Override
    public void none() {
        this.context.setGunState(Context.LOAD);
        System.out.println("装填弹药");
    }
}
